package net.zjitc.service.impl;

import net.zjitc.dao.BookDao;
import net.zjitc.dao.impl.BookDaoImpl;
import net.zjitc.domain.Book;
import net.zjitc.service.BookService;

import java.util.List;

/**
 * Created by Administrator on 2017/10/9.
 */
public class BookServiceImpl implements BookService{

    public List<Book> findAll(){
        BookDao dao=new BookDaoImpl();
        List<Book> list=dao.findAll();
        return list;
    }
}
